# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=chkrootkit
pkgver=0.58b
pkgrel=1
groups=('blackarch' 'blackarch-defensive' 'blackarch-forensic')
pkgdesc='Checks for rootkits on a system.'
url='http://www.chkrootkit.org/'
arch=('any')
license=('GPL2')
source=("ftp://ftp.chkrootkit.org/pub/seg/pac/$pkgname.tar.gz")
sha512sums=('50829446aa5a320ef3aa678c7bbc03ba2ebc14dca3b4c1f312fb46d3d8206345628d2e94b99cfea33e0d3971afbc025dbd387fb32c4e1135a7466c20eb3afab2')

build(){
  cd "$pkgname-$pkgver"

  make
}

package() {
  cd "$pkgname-$pkgver"

  install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname"
}

